package com.avapir.snake.Actors.NPC;

import java.awt.Graphics;
import java.util.Random;

import com.avapir.snake.Actors.CellElement;

/**
 * @author Alpen Ditrix
 *
 */
public class Plant extends CellElement {

	private enum PlantType {
		BOMB,
	};

	private int power;
	private PlantType type;
	private static Random r = new Random();
	
	protected Plant(PlantType type, int x, int y) {
		super(x, y);
		this.type = type;
		power = r.nextInt(100);
	}
	
	@Override
	public void draw(Graphics g) {
		switch (type) {

		}
	}

	/**
	 * Called when some snake met this plant reaction conditions
	 */
	public void react() {
		if(power == 0) {
			return;
		}
	}

}
